package org.syncsoft.overalt.gui.impl.listDataModel;

import java.util.Collection;

import org.syncsoft.overalt.domain.document.entity.History;
import org.syncsoft.overalt.gui.api.listDataModel.AbstractEntityListDataModel;

/**
 * 
 * @author tptfc
 *
 */
@SuppressWarnings("serial")
public class HistoryListDataModel extends AbstractEntityListDataModel<History> {

	public HistoryListDataModel(Collection<History> entities) {
		super(entities);
	}
	
	public String getDescription(int index) {
		return getEntities().get(index).getDescription();
	}
	
}
